<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title></title>
    <script src="{webroot:plugins/tencent_live/Theme/mobile/js/mui.min.js}"></script>
    <link href="{webroot:plugins/tencent_live/Theme/mobile/css/mui.min.css}" rel="stylesheet"/>
	<link href="{webroot:plugins/tencent_live/Theme/mobile/css/style.css}" rel="stylesheet"/>
    <script type="text/javascript" charset="utf-8">
      	mui.init();
    </script>
	<script src="//imgcache.qq.com/open/qcloud/video/vcplayer/TcPlayer-2.3.1.js" charset="utf-8"></script>
	{js:jquery}
	{echo:'<script>sellerInfo = '.JSON::encode($sellerInfo).' </script>'}
	{echo:'<script>UserInfo = '.JSON::encode($UserInfo).' </script>'}
	{echo:'<script>SellerId = '.$seller_id.' </script>'}
	{echo:'<script>playUrl =  '.JSON::encode($playUrl).'</script>'}
	{echo:'<script>onlineRow = '.JSON::encode($onlineRow).' </script>'}
	{echo:'<script>createTime = "'.date("Y-m-d").'" </script>'}
	<script src="{webroot:plugins/tencent_live/Theme/mobile/js/live.js}"></script>
	<script src="{webroot:plugins/tencent_live/Theme/mobile/js/htmllode.js}"></script>
</head>
<body>
	<div class="mui-content mui-fullscreen">
		<!-- 页面初始化背景层 -->
		<div id="cover" style="background-image:url({echo:$onlineRow['room_img']});background-repeat:no-repeat; background-size: cover;-moz-background-size:100% 100%;"></div>
		<!-- 页面加载遮罩层 -->
		<div id="load" class="loadbox">
			<div class="myload"></div>
			<p>正在加载中...</p>
		</div>
		<!--直播结束层-->
		<div class="endbox mui-hidden">
			<span class="ex_txt">直播已结束</span>
			<a href="javascript:void(0)" class="ex_btn">查看热门直播</a>
		</div>
		<!-- 视频层 -->
		<div id="video-container" class="mui-hidden">
			<div class="room_king">
				<div class="img">
					<img src="http://liveimg.miaobolive.com/pic/avator/201905/31/12/FC797255922D90BF_60372148_640.png" width="40" height="40">
				</div>
				<div class="text">
					<div class="name roomNickname">追梦人</div>
					<div class="num">2501人</div>
				</div>
				<a href="javascript:void(0)" class="btn_follow">关注</a>
			</div>
			<a href="javascript:htmlLode.goBotton()" class="open_btn_s"><i></i><strong>更多小姐姐</strong></a>

			<div id="chat" class="public_chat">
				<div class="item">
					<span class="name">456 </span>
					<span class="text" >来了，欢迎~</span>
				</div>
				<div class="item">
					<span class="name">456 </span>
					<span class="text" >来了，欢迎~</span>
				</div>
				<div id="cen"></div>
			</div>

			<div class="fat_bottom2">
				<div class="fm_in">
					<div class="input_txt">
						<input name="" placeholder="说点什么吧~" type="text" value=""><a href="javascript:htmlLode.charFun.chatSend()">发送</a>
					</div>
					<div class="right_icon">
						<div class="gift"></div>
						<div onclick="htmlLode.tipsCilck(2)" class="share"></div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script>
		 (function () {
             mui.get('{url:/site/live_status}',{seller_id:SellerId},function(data){
                 data = 'active'
				if(data == 'active')
				{
                    Video.play();
				}else{
                    InitLoad.videoUnPlay();
				}
              },'text'
             );
		   })();
		
	</script>
</body>
</html>